
import request from '@/utils/request'

export default {

  //1 首页图片
  getIndexImage() {
    return request({
      url: '/itservice/imagefront/getIndexImage',
      method: 'get'
    })
  },
  //2 分页查看
  getPageImage(page, limit) {
    return request({
      url: `/itservice/imagefront/pageImage/${page}/${limit}`,
      method: 'get'
    })
  },
  //3 根据id查看image信息
  getImageInfoById(imageId) {
    return request({
      url: `/itservice/imageadmin/getImageById/${imageId}`,
      method: 'get'
    })
  }
}
